package com.jicheng.entity;

import com.jicheng.ext.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "family_foreign")
public class FamilyForeign implements BaseEntity {
    /**
     * ID
     */
    @Id
    private String id;

    /**
     * 填报id
     */
    @Column(name = "report_id")
    private String reportId;

    /**
     * 称谓
     */
    private String relation;

    /**
     * 姓名
     */
    private String name;

    /**
     * 证件类型
     */
    @Column(name = "document_type")
    private String documentType;

    /**
     * 证件号码
     */
    @Column(name = "id_number")
    private String idNumber;

    /**
     * 境外定居（留学）情形
     */
    @Column(name = "abroad_situation")
    private String abroadSituation;

    /**
     * 境外定居（留学）时间
     */
    @Column(name = "abroad_time")
    private Date abroadTime;

    /**
     * 境外定居（留学）地点
     */
    @Column(name = "abroad_place")
    private String abroadPlace;

    /**
     * 境外从业情况
     */
    @Column(name = "working_condition")
    private String workingCondition;

    /**
     * 创建者
     */
    @Column(name = "creator_id")
    private String creatorId;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改者
     */
    @Column(name = "changed_by")
    private String changedBy;

    /**
     * 修改时间
     */
    @Column(name = "last_update_time")
    private Date lastUpdateTime;

    /**
     * 删除者
     */
    @Column(name = "deleted_by")
    private String deletedBy;

    /**
     * 删除时间
     */
    @Column(name = "deleted_time")
    private Date deletedTime;

    /**
     * 删除标志
     */
    private Boolean deleted;

    private static final long serialVersionUID = 1L;

    /**
     * 获取ID
     *
     * @return id - ID
     */
    public String getId() {
        return id;
    }

    /**
     * 设置ID
     *
     * @param id ID
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取填报id
     *
     * @return report_id - 填报id
     */
    public String getReportId() {
        return reportId;
    }

    /**
     * 设置填报id
     *
     * @param reportId 填报id
     */
    public void setReportId(String reportId) {
        this.reportId = reportId;
    }

    /**
     * 获取称谓
     *
     * @return relation - 称谓
     */
    public String getRelation() {
        return relation;
    }

    /**
     * 设置称谓
     *
     * @param relation 称谓
     */
    public void setRelation(String relation) {
        this.relation = relation;
    }

    /**
     * 获取姓名
     *
     * @return name - 姓名
     */
    public String getName() {
        return name;
    }

    /**
     * 设置姓名
     *
     * @param name 姓名
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取证件类型
     *
     * @return document_type - 证件类型
     */
    public String getDocumentType() {
        return documentType;
    }

    /**
     * 设置证件类型
     *
     * @param documentType 证件类型
     */
    public void setDocumentType(String documentType) {
        this.documentType = documentType;
    }

    /**
     * 获取证件号码
     *
     * @return id_number - 证件号码
     */
    public String getIdNumber() {
        return idNumber;
    }

    /**
     * 设置证件号码
     *
     * @param idNumber 证件号码
     */
    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    /**
     * 获取境外定居（留学）情形
     *
     * @return abroad_situation - 境外定居（留学）情形
     */
    public String getAbroadSituation() {
        return abroadSituation;
    }

    /**
     * 设置境外定居（留学）情形
     *
     * @param abroadSituation 境外定居（留学）情形
     */
    public void setAbroadSituation(String abroadSituation) {
        this.abroadSituation = abroadSituation;
    }

    /**
     * 获取境外定居（留学）时间
     *
     * @return abroad_time - 境外定居（留学）时间
     */
    public Date getAbroadTime() {
        return abroadTime;
    }

    /**
     * 设置境外定居（留学）时间
     *
     * @param abroadTime 境外定居（留学）时间
     */
    public void setAbroadTime(Date abroadTime) {
        this.abroadTime = abroadTime;
    }

    /**
     * 获取境外定居（留学）地点
     *
     * @return abroad_place - 境外定居（留学）地点
     */
    public String getAbroadPlace() {
        return abroadPlace;
    }

    /**
     * 设置境外定居（留学）地点
     *
     * @param abroadPlace 境外定居（留学）地点
     */
    public void setAbroadPlace(String abroadPlace) {
        this.abroadPlace = abroadPlace;
    }

    /**
     * 获取境外从业情况
     *
     * @return working_condition - 境外从业情况
     */
    public String getWorkingCondition() {
        return workingCondition;
    }

    /**
     * 设置境外从业情况
     *
     * @param workingCondition 境外从业情况
     */
    public void setWorkingCondition(String workingCondition) {
        this.workingCondition = workingCondition;
    }

    /**
     * 获取创建者
     *
     * @return creator_id - 创建者
     */
    public String getCreatorId() {
        return creatorId;
    }

    /**
     * 设置创建者
     *
     * @param creatorId 创建者
     */
    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取修改者
     *
     * @return changed_by - 修改者
     */
    public String getChangedBy() {
        return changedBy;
    }

    /**
     * 设置修改者
     *
     * @param changedBy 修改者
     */
    public void setChangedBy(String changedBy) {
        this.changedBy = changedBy;
    }

    /**
     * 获取修改时间
     *
     * @return last_update_time - 修改时间
     */
    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    /**
     * 设置修改时间
     *
     * @param lastUpdateTime 修改时间
     */
    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    /**
     * 获取删除者
     *
     * @return deleted_by - 删除者
     */
    public String getDeletedBy() {
        return deletedBy;
    }

    /**
     * 设置删除者
     *
     * @param deletedBy 删除者
     */
    public void setDeletedBy(String deletedBy) {
        this.deletedBy = deletedBy;
    }

    /**
     * 获取删除时间
     *
     * @return deleted_time - 删除时间
     */
    public Date getDeletedTime() {
        return deletedTime;
    }

    /**
     * 设置删除时间
     *
     * @param deletedTime 删除时间
     */
    public void setDeletedTime(Date deletedTime) {
        this.deletedTime = deletedTime;
    }

    /**
     * 获取删除标志
     *
     * @return deleted - 删除标志
     */
    public Boolean getDeleted() {
        return deleted;
    }

    /**
     * 设置删除标志
     *
     * @param deleted 删除标志
     */
    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }
}